package cn.iocoder.yudao.module.infra.controller.admin.ocr.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - OCR 识别（通过URL）Request VO")
@Data
public class OcrRecognizeByUrlReqVO {

    @Schema(description = "配置编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "配置编号不能为空")
    private Long configId;

    @Schema(description = "图片URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://example.com/image.jpg")
    @NotEmpty(message = "图片URL不能为空")
    private String imageUrl;

}